<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<div class="show-info">
    <table class="tab-show">
    	<col width="150">
        <tr>
	    	<th>
            	<label>登录账号：</label>
        	</th>
         	<td colspan="3">${model.loginCode }</td>
		</tr>
        <tr>
	    	<th>
            	<label>用户姓名：</label>
        	</th>
         	<td>${model.userName }</td>
	    	<th>
            	<label>电子邮箱：</label>
        	</th>
         	<td>${model.email }</td>
		</tr>
        <tr>
	    	<th>
            	<label>手机号码：</label>
        	</th>
         	<td>${model.mobile }</td>
	    	<th>
            	<label>办公电话：</label>
        	</th>
         	<td>${model.phone }</td>
		</tr>
        <tr>
	    	<th>
            	<label>头像：</label>
        	</th>
         	<td colspan="3">
	<c:if test="${not empty model.avatar }">
         		<img src="${model.avatar }" title="头像" width="90" />
	</c:if>
         	</td>
		</tr>
        <tr>
	    	<th>
            	<label>用户性别：</label>
        	</th>
         	<td>
         		<c:if test="${model.sex == 0 }">女</c:if>
				<c:if test="${model.sex == 1 }">男</c:if>
			</td>
	    	<th>
            	<label>微信号：</label>
        	</th>
         	<td>${model.wxOpenid }</td>
		</tr>
        <tr>
	    	<th>
            	<label>个性签名：</label>
        	</th>
         	<td colspan="3">${model.sign }</td>
		</tr>
		<tr>
	    	<th>
            	<label>入职时间：</label>
        	</th>
			<!-- 增加样式shieldDatetime -->
			<td class="shieldDatetime" data-format="YYYY年MM月DD日">${model.entryDate}</td>
	    	<th>
            	<label>离职时间：</label>
        	</th>
         	<td class="shieldDatetime" data-format="YYYY年MM月DD日">${model.exitDate}</td>
		</tr>
        <%-- 
        <tr>
	    	<th>
            	<label>绑定的手机串号：</label>
        	</th>
         	<td>${model.mobileImei }</td>
		</tr>
        <tr>
	    	<td>
            	<label>用户类型：</label>
        	</td>
         	<td>${model.userType }</td>
		<tr>
        <tr>
	    	<td>
            	<label>用户类型引用编号：</label>
        	</td>
         	<td>${model.refCode }</td>
		<tr>
        <tr>
	    	<td>
            	<label>用户类型引用姓名：</label>
        	</td>
         	<td>${model.refName }</td>
		<tr>
        <tr>
	    	<td>
            	<label>管理员类型：</label>
        	</td>
         	<td>${model.mgrType }&nbsp;&nbsp;<span class="red">（0 非管理员 1 系统管理员  2 二级管理员）</span></td>
		<tr>
        <tr>
	    	<td>
            	<label>密码安全级别：</label>
        	</td>
         	<td>${model.pwdSecurityLevel }&nbsp;&nbsp;<span class="red">（0 初始 1 很弱 2 弱 3 安全 4 很安全）</span></td>
		<tr> --%>
        <tr>
	    	<th>
            	<label>密码最后更新时间：</label>
        	</th>
         	<td class="shieldDatetime" colspan="3">${model.pwdUpdateTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>密码修改记录：</label>
        	</th>
         	<td colspan="3">${model.pwdUpdateRecord }</td>
		</tr>
        <%-- <tr>
	    	<td>
            	<label>密保问题：</label>
        	</td>
         	<td>${model.pwdQuestion }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密保问题答案：</label>
        	</td>
         	<td>${model.pwdQuestionAnswer }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密保问题2：</label>
        	</td>
         	<td>${model.pwdQuestion2 }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密保问题答案2：</label>
        	</td>
         	<td>${model.pwdQuestionAnswer2 }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密保问题3：</label>
        	</td>
         	<td>${model.pwdQuestion3 }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密保问题答案3：</label>
        	</td>
         	<td>${model.pwdQuestionAnswer3 }</td>
		<tr>
        <tr>
	    	<td>
            	<label>密码问题修改时间：</label>
        	</td>
         	<td>${model.pwdQuestUpdateTime }</td>
		<tr> --%>
        <tr>
	    	<th>
            	<label>最后登陆IP：</label>
        	</th>
         	<td>${model.lastLoginIp }</td>
	    	<th>
            	<label>最后登陆时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.lastLoginTime }</td>
		</tr>
		<tr>
	    	<th>
            	<label>登陆次数：</label>
        	</th>
         	<td colspan="3">${model.loginCount }</td>
		</tr>
<!-- 冻结 -->
<c:if test="${model.state == 3 }">
        <tr>
	    	<th>
            	<label>冻结时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.freezeTime }</td>
	    	<th>
            	<label>冻结原因：</label>
        	</th>
         	<td>${model.freezeCause }</td>
		</tr>
</c:if>
        <%-- <tr>
	    	<td>
            	<label>用户权重（降序）：</label>
        	</td>
         	<td>${model.userWeight }</td>
		<tr> --%>
        <tr>
	    	<th>
            	<label>备注信息：</label>
        	</th>
         	<td colspan="3">${model.remarks }</td>
		</tr>
        <tr>
	    	<th>
            	<label>状态：</label>
        	</th>
         	<td colspan="3"><shield:switchOput data="-1=删除|2=停用|3=冻结|正常" value="${model.state}"></shield:switchOput></td>
		</tr>
        <tr>
	    	<th>
            	<label>创建人：</label>
        	</th>
         	<td title="${model.createName }(${model.createBy })">${model.createName }</td>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.createTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改人：</label>
        	</th>
         	<td title="${model.updateName }(${model.updateBy })">${model.updateName }</td>
	    	<th>
            	<label>修改时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.updateTime }</td>
		</tr>
    </table>
    <div class="opt"></div>
</div>